<template>
    <h1>用户理财项目列表</h1>

    <FinanAll v-slot="info">
        <a href="#" @click="jump(info.id)">用户购买明细</a>
    </FinanAll>

</template>

<script setup lang="ts">
import { useRouter } from 'vue-router';
import FinanAll from '../Finan/FinanAll.vue'

const router = useRouter();

const jump = (id:string)=>{
    router.push({
        name:'UserFinanAils',
        params:{
            Id:id
        }
    })
}

</script>